package com.ev.scm.service;

import com.ev.scm.domain.StockAgeSettingDO;
import com.ev.scm.vo.StockAgeSettingSaveParam;
import com.ev.framework.utils.R;

import java.util.List;
import java.util.Map;


/**
 * 文件名称： com.ev.scm.service.StockAgeSettingService.java</br>
 * 初始作者： ev-monitor</br>
 * 创建日期： 2020-06-12 15:16:24</br>
 * 功能说明： 库存账龄分组设置 <br/>
 * =================================================<br/>
 * 修改记录：<br/>
 * 修改作者        日期       修改内容<br/>
 * ================================================<br/>
 * Copyright (c) 2020-2021 .All rights reserved.<br/>
 */
public interface StockAgeSettingService {
	
	StockAgeSettingDO get(Long id);
	
	List<StockAgeSettingDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(StockAgeSettingDO stockAgeSetting);
	
	int update(StockAgeSettingDO stockAgeSetting);

	int updateAll(StockAgeSettingDO stockAgeSetting);
	
	int remove(Long id);

	int removeAll();

	int batchRemove(Long[] ids);

	R saveAndVerify(List<StockAgeSettingDO> stockAgeSettingDOList);

	Map<String, Object> getById(Long id);

	Map<String, Object> pageList();
}
